package com.baosight.risk.service.xtzy.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * Table: T_XTZY_ORG_EHR
 */
@Data
@ApiModel
@Table(name = "T_XTZY_ORG_EHR")
public class XtzyOrgEhr implements Serializable {
    /**
     * 机构编码
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ORG_CODE
     * Nullable:  true
     */
     @ApiModelProperty("机构编码")
    @Column(name = "ORG_CODE")
    private String orgCode;

    /**
     * 机构名称
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ORG_NAME
     * Nullable:  true
     */
     @ApiModelProperty("机构名称")
    @Column(name = "ORG_NAME")
    private String orgName;

    /**
     * 上级机构编码
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    TARGET_ORG_CODE
     * Nullable:  true
     */
     @ApiModelProperty("上级机构编码")
    @Column(name = "TARGET_ORG_CODE")
    private String targetOrgCode;

    /**
     * 上级机构名称
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    TARGET_ORG_NAME
     * Nullable:  true
     */
     @ApiModelProperty("上级机构名称")
    @Column(name = "TARGET_ORG_NAME")
    private String targetOrgName;

    /**
     * 机构类型ID
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ORG_TYPE_ID
     * Nullable:  true
     */
     @ApiModelProperty("机构类型ID")
    @Column(name = "ORG_TYPE_ID")
    private String orgTypeId;

    /**
     * 机构类型
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ORG_TYPE
     * Nullable:  true
     */
     @ApiModelProperty("机构类型")
    @Column(name = "ORG_TYPE")
    private String orgType;

    /**
     * 生效日期
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    FROM_DATE
     * Nullable:  true
     */
     @ApiModelProperty("生效日期")
    @Column(name = "FROM_DATE")
    private String fromDate;

    /**
     * 失效日期
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    TO_DATE
     * Nullable:  true
     */
     @ApiModelProperty("失效日期")
    @Column(name = "TO_DATE")
    private String toDate;

    /**
     * 记录有效标记
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ALIVE_FLAG
     * Nullable:  true
     */
     @ApiModelProperty("记录有效标记")
    @Column(name = "ALIVE_FLAG")
    private String aliveFlag;

    /**
     * 记录状态标记
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    USE_STATUS
     * Nullable:  true
     */
     @ApiModelProperty("记录状态标记")
    @Column(name = "USE_STATUS")
    private String useStatus;

    /**
     * 组织机构全称
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    ORG_FULL_NAME
     * Nullable:  true
     */
     @ApiModelProperty("组织机构全称")
    @Column(name = "ORG_FULL_NAME")
    private String orgFullName;

    /**
     * 创建时间
     *
     * Table:     T_XTZY_ORG_EHR
     * Column:    CREATE_DATE
     * Nullable:  true
     */
     @ApiModelProperty("创建时间")
    @Column(name = "CREATE_DATE")
    private Date createDate;

}